<?php if(isset($astors)):?>
<?php foreach($astors as $key=>$value):?>
<div class="infolist">
	<h2>
		<a
			href="<?php echo $this->createUrl("astor/infos",array("p"=>$value->astor_mark));?>"
			target="_blank"
			title="<?php echo $value->astor_name?>座个性,查看<?php echo $value->astor_name?>座爱情运，事业运，今日运，配对"><?php echo $value->astor_name;?>座</a>
	</h2>
	<ul>
		<li><h3
				title="<?php echo $value->astor_name;?>座<?php echo date("Y年m月d日",time());?>">
				运程指数
				<?php if($value->forecast[0]->zonghe>70):?>
				[&nbsp;&nbsp;运气不错！]
				<?php endif;?>
			</h3>
			<h6 style="text-align: right"
				title="<?php echo $value->astor_name;?>座<?php echo date("Y年m月d日",time());;?>最新运程指数">
				<?php echo date("Y年m月d日",time());;?>
			</h6>
			<ul
				class="<?php if($value->forecast[0]->zonghe>70):?>notice<?php else:?>inslid<?php endif;?>">
				<li>综合指数：<?php echo $value->forecast[0]->zonghe;?>%</li>
				<li>爱情指数：<?php echo $value->forecast[0]->aiqing;?>%</li>
				<li>工作指数：<?php echo $value->forecast[0]->gongzuo;?>%</li>
				<li>幸运色：<?php echo $value->forecast[0]->lucky_color;?></li>
				<li>幸运数字：<?php echo $value->forecast[0]->lucky_num;?></li>
				<li>速配好友：<a
					href="<?php echo $this->createUrl("astor/infos",array("p"=>Yii::app()->params["astor_name_id"][$value->forecast[0]->supei][0]));?>"
					target="_blank"
					title="<?php echo Yii::app()->params["astor_name_id"][$value->forecast[0]->supei][1];?>座个性,查看<?php echo Yii::app()->params["astor_name_id"][$value->forecast[0]->supei][1];?>座爱情运，事业运，今日运，配对"><?php echo Yii::app()->params["astor_name_id"][$value->forecast[0]->supei][1];?>座</a>
				</li>
			</ul>
			<div class="height5"></div>
		</li>
		<li><h3
				title="<?php echo $value->astor_name;?>座<?php echo date("Y年m月d日",time());?>最新运程分析">运程分析</h3>
			<div>
			<?php echo $value->forecast[0]->analysisContent;?>
			</div></li>
	</ul>
	<h4>
	<?php if($key<=2 && SHOW_AD):?>
		<script type="text/javascript"><!--
                    google_ad_client = "ca-pub-7062825146073792";
                    /* 首页横幅广告 */
                    google_ad_slot = "6355662215";
                    google_ad_width = 820;
                    google_ad_height = 90;
                    //-->
                    </script>
		<script type="text/javascript"
			src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                    </script>
                    <?php endif;?>
		<div class="height5"></div>
		<?php if($value->infoProtype):?>
		<?php foreach($value->infoProtype as $k=>$v):?>
		<span><a
			href="<?php echo $this->createUrl('astor/inprotypes',array('i'=>$v->id,'p'=>$value->astor_mark,'title'=>$v->p_key))?>"
			target="_blank" title="查看<?php echo $v->p_key?>的爱情，运程，性格"><?php echo $v->p_key?>
		</a> </span>
		<?php endforeach;?>
		<?php endif;?>
		<span><a
			href="<?php echo $this->createUrl("astor/infos",array("p"=>$value->astor_mark));?>"
			target="_blank"
			title="<?php echo $value->astor_name?>座生日密码，查看<?php echo $value->astor_name?>座生日密码"><?php echo $value->astor_name;?>座生日密码</a>
		</span>
	</h4>

</div>
		<?php endforeach;?>
		<?php endif;?>